<ion-view id="address-list" view-title="常用地址"  hide-nav-bar="true">
  <ion-header-bar align-title="center" class="bar-calm">
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="goBack()">
        <img src="img/order-commit/backIcon.png">
      </button>
    </div>
    <h1 class="title">常用地址</h1>
    <!--<div class="buttons">-->
      <!--<button class="button head-button button-clear center-btn"-->
              <!--ng-click="edit()">-->
        <!--编辑-->
      <!--</button>-->
    <!--</div>-->
  </ion-header-bar>
  <ion-content>
    <div class="addr-list">
      <div class="addr-record" ng-repeat="item in $storage.addrlist" on-tap="goEdit(item)">
        <div class="addr-name">{{item.reciveuser}}</div>
        <div class="addr-phone">联系电话:&nbsp;{{item.phonenumber}}</div>
        <div class="addr-address">地址:&nbsp;{{item.address}}</div>
        <div class="addr-remark" ng-if="item.remark">备注:{{item.remark}}</div>
      </div>
      <!--<div class="page" ng-if="addrlist.length != 0">-->
        <!--<span>共{{page}}/{{allpage}}页</span>-->
        <!--<a ng-class="{'disabled':page<=1}" on-tap="prePage()">上一页</a>-->
        <!--<a ng-class="{'disabled':page>=allpage}" on-tap="nextPage()">下一页</a>-->
      <!--</div>-->
    </div>

  </ion-content>
  <ion-footer-bar>
    <div class="add-address" on-tap="goAddressAdd()">
      <span style="float: left;">新增地址</span>
      <span style="float: right;font-size: 30px;" class="ion-ios-plus-outline"></span>
    </div>  </ion-footer-bar>
</ion-view>